home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: DispMod.h.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emith.dll: 2.33
- */
-
- /*
- *
- * Classes defined in this interface
- *
- */
-
-
- #ifndef SOM_ODDispatchModule_h
- #define SOM_ODDispatchModule_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef ODDispatchModule
- #define ODDispatchModule SOMObject
- #endif
- #include <ODObject.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef SOMClass
- #define SOMClass SOMObject
- #endif /* SOMClass */
- #ifndef SOMObject
- #define SOMObject SOMObject
- #endif /* SOMObject */
- #ifndef ODFrame
- #define ODFrame SOMObject
- #endif /* ODFrame */
- #ifndef ODFacet
- #define ODFacet SOMObject
- #endif /* ODFacet */
- #ifndef ODObject
- #define ODObject SOMObject
- #endif /* ODObject */
- #ifndef ODExtension
- #define ODExtension SOMObject
- #endif /* ODExtension */
- #ifndef ODDispatchModule
- #define ODDispatchModule SOMObject
- #endif /* ODDispatchModule */
- #ifndef ODSession
- #define ODSession SOMObject
- #endif /* ODSession */
-
- /*
- * End of user-defined types.
- */
-
- #define ODDispatchModule_MajorVersion 1
- #define ODDispatchModule_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define ODDispatchModuleClassData d
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define ODDispatchModule_classObj somNewClassReference(ODDispatchModule)
- #define _ODDispatchModule ODDispatchModule_classObj
- #define ODDispatchModuleCClassData ODDispatchModuleClassData
- #define ODDispatchModuleNewClass(major,minor) somNewVersionedClassReference(ODDispatchModule,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define ODDispatchModuleMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct ODDispatchModuleClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMAny *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken InitDispatchModule;
- somMToken Dispatch;
- } SOMDLINK ODDispatchModuleClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(ODDispatchModule_Class_Source) && !defined(SOM_Module_dispmod_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list ODDispatchModuleClassData
- #endif
- #endif
-
-
- /*
- * New macro for ODDispatchModule
- */
- #define ODDispatchModuleNew() somNewObject(ODDispatchModule)
-
- /*
- * New Method: InitDispatchModule
- */
- typedef void (SOMLINK *somTD_ODDispatchModule_InitDispatchModule)(ODDispatchModule *somSelf, Environment *ev,
- ODSession* session);
- #define somMD_ODDispatchModule_InitDispatchModule "::ODDispatchModule::InitDispatchModule"
- #define ODDispatchModule_InitDispatchModule(somSelf,ev,session) \
- (SOM_Resolve(somSelf, ODDispatchModule, InitDispatchModule) \
- (somSelf,ev,session))
- #ifndef SOMGD_InitDispatchModule
- #if (defined(_InitDispatchModule) || defined(__InitDispatchModule))
- #undef _InitDispatchModule
- #undef __InitDispatchModule
- #define SOMGD_InitDispatchModule 1
- #else
- #define _InitDispatchModule ODDispatchModule_InitDispatchModule
- #endif /* _InitDispatchModule */
- #endif /* SOMGD_InitDispatchModule */
-
- /*
- * New Method: Dispatch
- */
- typedef ODBoolean (SOMLINK *somTD_ODDispatchModule_Dispatch)(ODDispatchModule *somSelf, Environment *ev,
- ODEventData* event,
- ODEventInfo* eventInfo);
- #define somMD_ODDispatchModule_Dispatch "::ODDispatchModule::Dispatch"
- #define ODDispatchModule_Dispatch(somSelf,ev,event,eventInfo) \
- (SOM_Resolve(somSelf, ODDispatchModule, Dispatch) \
- (somSelf,ev,event,eventInfo))
- #ifndef SOMGD_Dispatch
- #if (defined(_Dispatch) || defined(__Dispatch))
- #undef _Dispatch
- #undef __Dispatch
- #define SOMGD_Dispatch 1
- #else
- #define _Dispatch ODDispatchModule_Dispatch
- #endif /* _Dispatch */
- #endif /* SOMGD_Dispatch */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define ODDispatchModule_InitObject ODObject_InitObject
- #define ODDispatchModule_HasExtension ODObject_HasExtension
- #define ODDispatchModule_AcquireExtension ODObject_AcquireExtension
- #define ODDispatchModule_ReleaseExtension ODObject_ReleaseExtension
- #define ODDispatchModule_Purge ODObject_Purge
- #define ODDispatchModule_IsEqualTo ODObject_IsEqualTo
- #define ODDispatchModule_SubClassResponsibility ODObject_SubClassResponsibility
- #define ODDispatchModule_somInit SOMObject_somInit
- #define ODDispatchModule_somUninit SOMObject_somUninit
- #define ODDispatchModule_somInit SOMObject_somInit
- #define ODDispatchModule_somUninit SOMObject_somUninit
- #define ODDispatchModule_somDuplicateReference SOMObject_somDuplicateReference
- #define ODDispatchModule_somCompareReference SOMObject_somCompareReference
- #define ODDispatchModule_somRelease SOMObject_somRelease
- #define ODDispatchModule_somFree SOMObject_somFree
- #define ODDispatchModule_somCanDelete SOMObject_somCanDelete
- #define ODDispatchModule_somGetClass SOMObject_somGetClass
- #define ODDispatchModule_somGetClassName SOMObject_somGetClassName
- #define ODDispatchModule_somGetSize SOMObject_somGetSize
- #define ODDispatchModule_somIsA SOMObject_somIsA
- #define ODDispatchModule_somRespondsTo SOMObject_somRespondsTo
- #define ODDispatchModule_somIsInstanceOf SOMObject_somIsInstanceOf
- #define ODDispatchModule_somDispatch SOMObject_somDispatch
- #define ODDispatchModule_somClassDispatch SOMObject_somClassDispatch
- #define ODDispatchModule_somCastObj SOMObject_somCastObj
- #define ODDispatchModule_somResetObj SOMObject_somResetObj
- #define ODDispatchModule_somPrintSelf SOMObject_somPrintSelf
- #define ODDispatchModule_somDumpSelf SOMObject_somDumpSelf
- #define ODDispatchModule_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_ODDispatchModule_h */
-